package ProducerConsumer.WaitNotify;

public class WaitNotifyImpl {
    public static void main(String[] args) {
        MyBlockQueue myBlockQueue = new MyBlockQueue(10);
        Producer producer = new Producer(myBlockQueue);
        Consumer consumer = new Consumer(myBlockQueue);
        new Thread(producer).start();
        new Thread(consumer).start();
    }
}
